package com.longshen.dubbo.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableTransactionManagement//开启事务管理
@MapperScan("com.longshen.dubbo.api.mapper")
public class DubboApiServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(DubboApiServerApplication.class, args);
	}

}
